//
//  MZProgramDetailDesignedViewController.h
//  Mehfile Zainab
//
//  Created by Badourali Azad on 08/02/2014.
//  Copyright (c) 2014 Azad Badourali. All rights reserved.
//

#import <EventKit/EventKit.h>
#import <EventKitUI/EventKitUI.h>
#import <UIKit/UIKit.h>
#import "MZProgram.h"

@interface MZProgramDetailDesignedViewController : UIViewController <EKEventEditViewDelegate> {
	
	MZProgram *programItem;
	
    EKEventStore *eventStore;
    
   	EKCalendar *defaultCalendar;
	
	IBOutlet UILabel *dateLabel;
    
	IBOutlet UILabel *titleLabel;
	
	IBOutlet UILabel *timeLabel;
    
	IBOutlet UITextView *contentView;

	IBOutlet UIButton *calendarButton;
	
}

@property (nonatomic, retain) EKEventStore *eventStore;

@property (nonatomic,retain) MZProgram *programItem;

@property (nonatomic, retain) EKCalendar *defaultCalendar;

@property (nonatomic,retain) IBOutlet UILabel *dateLabel;

@property (nonatomic,retain) IBOutlet UILabel *titleLabel;

@property (nonatomic,retain) IBOutlet UILabel *timeLabel;

@property (nonatomic,retain) IBOutlet UITextView *contentView;

@property (nonatomic,retain) IBOutlet UIButton *calendarButton;

-(IBAction) addAgenda;

@end